* {
	padding: 0;
	margin: 0;
}

body {
	background-color: #b91f19;
}

.grid {
	max-width: 640px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

#banner {
	width: 100%;
	background: url(../images/bg.jpg) no-repeat;
	background-size: 100% auto;
	overflow: hidden;
	padding-bottom: 20px;
	position: relative;
}

#banner img {
	border: 0px;
	width: 100px;
}

#banner dl {
	padding-top: 12em;
}

#banner a {
	margin-right: 20px;
}

#banner dl,#banner dt,#banner dd,#banner a {
	float: left;
}

#banner dl {
	width: 1000%;
	height: 125px;
	padding-top: 200px;
}

.block {
	background-color: #fcc270;
	border: 1px solid #fcc270;
	margin: 0 5px 10px 5px;
	padding: 10px;
	padding-top: 40px;
	color: #b91f19;
	position: relative;
	font-size: 12px;
}

.block .title {
	position: absolute;
	top: 8px;
	left: -6px;
	font-size: 16px;
	background: url(../images/tit.png) no-repeat;
	padding: 5px 10px;
	font-weight: bold;
	width: 105px;
	height: 24px;
	color: #fff;
	-webkit-background-size: 105px auto;
	background-size: 105px auto;
}
.block .content {
	margin-top: 10px;
}

.block .content p {
	font-size: 14px;
	line-height: 22px;
	text-indent: 20px;
}

#hammer {
	position: absolute;
	top:11em;
	left: -74px;
	height: 87px;
	width: 74px;
	z-index: 3;
}

#hammer.hit {
	transform: rotate(-30deg);
	-ms-transform: rotate(-30deg);
	-moz-transform: rotate(-30deg);
	-webkit-transform: rotate(-30deg);
	-o-transform: rotate(-30deg);
}

#f {
	position: absolute;
	top: 13em;
	left: 0;
	z-index: 2;
	display: none;
}

#f img {
	width: 100px;
}

#mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	background: rgba(0,0,0,.4);
	display: none;
}

#dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 100px;
	width: 276px;
	margin-left: -150px;
	margin-top: -50px;
	border: 2px solid #fcc270;
	padding: 10px;
	background-color: #9f000d;
	display: none;
	z-index: 6;
	font-weight: bold;
	font-size: 20px;
}

#dialog.yes {
	color: #900;
	background-image: url(../images/y.png);
	background-position: right bottom;
	background-repeat: no-repeat;
	-webkit-background-size: 100px auto;
	background-size: 100px auto;
}

#dialog.yes a {
	display: block;
}

#dialog.no {
	color: #fff;
}

#dialog.no button {
	display: block;
}

#content {
	margin-top: 20px;
	text-align: center;
	color: #fff;
}

#dialog button,#dialog a {
	display: none;
	font-size: 14px;
	position: absolute;
	bottom: 10px;
	left: 50%;
	height: 30px;
	width: 80px;
	line-height: 30px;
	margin-left: -40px;
	background-color: #fcc270;
	border: none;
	color: #9f000d;
	text-align: center;
	font-weight:bold;
}